package service

import (
	"context"
	__ "mt-server/basic/proto"
)

// 评价功能
func (s *Server) Evaluate(_ context.Context, in *__.EvaluateReq) (*__.EvaluateResp, error) {
	//var eva model.Evaluate
	//eva = model.Evaluate{
	//	UserId:     eva.UserId,
	//	Evaluate:   eva.Evaluate,
	//	GoodsId:    eva.GoodsId,
	//	MerchantId: eva.MerchantId,
	//}
	//
	//err := eva.EvaluateC()
	//if err != nil {
	//	return &__.EvaluateResp{
	//		Msg:  "评价失败",
	//		Code: 500,
	//	}, nil
	//}

	return &__.EvaluateResp{
		Msg:  "评价成功",
		Code: 200,
	}, nil
}
